package com.ziq.zcamp.bean.coupon

import com.ziq.zcamp.proguard.ProguardKeep
import java.io.Serializable

class CouponDateInfo : ProguardKeep, Serializable {
    //不可用开始时间段
    var begin_date :Int? = null
    //不可用结束时间段
    var end_date : Int? = null

    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (javaClass != other?.javaClass) return false

        other as CouponDateInfo

        if (begin_date != other.begin_date) return false
        if (end_date != other.end_date) return false

        return true
    }

    override fun hashCode(): Int {
        var result = begin_date ?: 0
        result = 31 * result + (end_date ?: 0)
        return result
    }


}